package com.example.serverdemo.service;

import com.example.serverdemo.bean.DeviceInfoBean;

import java.util.List;

public interface DeviceService {
    DeviceInfoBean queryDevice(String deviceId);
    int registerDevice(DeviceInfoBean deviceInfoBean);
    int unRegisterDevice(String deviceId);
    int updateDevice(DeviceInfoBean deviceInfoBean);
    List<DeviceInfoBean> queryAllOnlineDevice();
}
